package com.wlsk.license.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;

/**
 * @description: 上传oss文件类型
 * @author: liuzhangbin
 * @date: 2025/2/17
 */
public enum UploadFileTypeEnum {

    CHARTER_PLATE_APPLICATION_FORM("201", "包车牌申请表"),
    CHARTER_CONTRACT("202", "包车合同"),
    VEHICLE_LICENSE("203", "行驶证"),
    DRIVING_LICENSE("204", "驾驶证"),
    CO_DRIVER_LICENSE("205", "驾驶证-副驾");

    UploadFileTypeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @EnumValue
    @JsonValue
    private String code;

    private String description;

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }
}
